package com.gmu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 采样地点表
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TblSampleAddress对象", description="采样地点表")
public class TblSampleAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地点id")
    @TableId(value = "address_id", type = IdType.AUTO)
    private Integer addressId;

    @ApiModelProperty(value = "单位id")
    private Integer unitsId;

    @ApiModelProperty(value = "地点名称")
    private String addressName;

    @ApiModelProperty(value = "单位信息")
    @TableField(exist = false)
    private TblUnits tblUnits;


}
